﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/BookClub.Master" AutoEventWireup="true" CodeBehind="message.aspx.cs" Inherits="BookClubIt.message" %>
<%@ Register TagPrefix="uc" TagName="clubnav" Src="~/UserControls/clubmenu.ascx" %>
<%@ Register TagPrefix="uc" TagName="joinbox" Src="~/UserControls/joinbox.ascx"  %>


<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="row">
<div class="left-nav">
<uc:clubnav id="clubnav"  runat="server" />
</div>

<div class="content">
<h1><small>Send Message to Members</small></h1>

<asp:Panel ID="pnlMessage" runat="server" Visible="false" CssClass="message">
<asp:Label ID ="lblMsg" runat="server" />
</asp:Panel>

<p>Send a message to some or all members of this book club.</p>

<table width="100%">
<tr><td>Send to:</td><td>
<asp:ListBox runat="server" ID="lbMembers" DataTextField="Username" DataValueField="Id" SelectionMode="Multiple" Height="150px"></asp:ListBox>
<label class="help-text">Hold control to select mulitple.</label></td></tr>

<tr><td>Message:</td><td><textarea id="txtMessage" runat="server" rows="5" cols="60"></textarea></td></tr>

<tr><td></td><td><asp:LinkButton ID="lnbSendMessage" CssClass="btn btn-primary" runat="server" Text="Send" OnClick="lnbSendMessage_Click" /> <a href="" class="btn">Clear</a></td></tr>
</table>



</div>
<div class="right-sidebar">
<uc:joinbox id="joinbox"  runat="server" />

 <img src="../images/adsense_250.gif" alt="adsense" />
</div>

</div>
</asp:Content>
